package com.kgc.community.mapper;

import com.kgc.community.pojo.RoomUser;
import com.kgc.community.pojo.RoomUserExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoomUserMapper {
    int countByExample(RoomUserExample example);

    int deleteByExample(RoomUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(RoomUser record);

    int insertSelective(RoomUser record);

    List<RoomUser> selectByExample(RoomUserExample example);

    RoomUser selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") RoomUser record, @Param("example") RoomUserExample example);

    int updateByExample(@Param("record") RoomUser record, @Param("example") RoomUserExample example);

    int updateByPrimaryKeySelective(RoomUser record);

    int updateByPrimaryKey(RoomUser record);
}